//
//  DCAvchatKitMacro.h
//  DCAvchatKit
//
//  Created by zhangtao on 2020/9/18.
//  Copyright © 2020 zhangtao. All rights reserved.
//

#ifndef DCAvchatKitMacro_h
#define DCAvchatKitMacro_h

typedef NS_ENUM(NSInteger, DCAvchatVendor) {
    DCAvchatVendorNIM, //网易云信
};

typedef NS_ENUM(NSInteger, DCAvchatNetCallMediaType) {
    DCAvchatNetCallMediaTypeAudio = 1, //音频通话
    DCAvchatNetCallMediaTypeVideo = 2  //视频通话
};

typedef NS_ENUM(NSInteger, DCAvchatNetCallCamera) {
    DCAvchatNetCallCameraFront, //前置摄像头
    DCAvchatNetCallCameraBack, //后置摄像头
};

typedef NS_ENUM(NSUInteger, DCAvchatNetDetectType)
{
    DCAvchatNetDetectTypeAudio = 0, //音频探测
    DCAvchatNetDetectTypeDefault, //默认清晰度 （视频探测）
    DCAvchatNetDetectTypeLow, //低视频质量 （视频探测）
    DCAvchatNetDetectTypeMedium, //中等视频质量 （视频探测）
    DCAvchatNetDetectTypeHigh, //高视频质量 （视频探测）
    DCAvchatNetDetectType480P, //480P （视频探测）
    DCAvchatNetDetectType540P, //540P （视频探测）
    DCAvchatNetDetectType720P, //720P （视频探测）
};

typedef NS_ENUM(NSUInteger, DCAvchatNetQuality) {
    DCAvchatNetQualityGood = 0, //网络状况非常好，音视频通话流畅
    DCAvchatNetQualityPoor, //网络状况好，音视频通话偶有卡顿
    DCAvchatNetQualityBad, //网络状况差，音频通话流畅
    DCAvchatNetQualityWorst //网络状况非常差，音频通话偶有卡顿
};

typedef NS_ENUM(NSUInteger, DCAvchatCallFlag) {
    DCAvchatCallFlagCall = 0, //主叫呼叫
    DCAvchatCallFlagInvite, //被叫邀请
};

//通话-邀请加入房间消息key
#define kUserDefaultInviteJoinRoomInfo @"kUserDefaultInviteJoinRoomInfo"

#endif /* DCAvchatSDKMacro_h */
